package com.website.custom.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.website.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.website.common.annotation.Excel;

/**
 * 网站配置对象 w_config
 * 
 * @author ruoyi
 * @date 2024-12-03
 */
public class WConfig extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;

    /** 公司名称 */
    @Excel(name = "公司名称")
    private String name;

    /** logo */
    @Excel(name = "logo")
    private String logo;

    /** 公司地址 */
    @Excel(name = "公司地址")
    private String addr;

    /** 公司邮箱 */
    @Excel(name = "公司邮箱")
    private String email;

    /** 公司介绍 */
    @Excel(name = "公司介绍")
    private String introduction;

    /** 备案号 */
    @Excel(name = "备案号")
    private String filings;

    /** 技术支持 */
    @Excel(name = "技术支持")
    private String support;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String phone;

    /** 图片 */
    @Excel(name = "图片")
    private String img;

    /** 发布时间 */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @Excel(name = "发布时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date publishDate;

    /** 详细内容 */
    @Excel(name = "详细内容")
    private String content;

    /** 点击次数 */
    @Excel(name = "点击次数")
    private Long clickCount;

    /** 作者 */
    @Excel(name = "作者")
    private String author;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setLogo(String logo) 
    {
        this.logo = logo;
    }

    public String getLogo() 
    {
        return logo;
    }

    public void setAddr(String addr) 
    {
        this.addr = addr;
    }

    public String getAddr() 
    {
        return addr;
    }

    public void setEmail(String email) 
    {
        this.email = email;
    }

    public String getEmail() 
    {
        return email;
    }

    public void setIntroduction(String introduction) 
    {
        this.introduction = introduction;
    }

    public String getIntroduction() 
    {
        return introduction;
    }

    public void setFilings(String filings) 
    {
        this.filings = filings;
    }

    public String getFilings() 
    {
        return filings;
    }

    public void setSupport(String support) 
    {
        this.support = support;
    }

    public String getSupport() 
    {
        return support;
    }

    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }

    public void setImg(String img) 
    {
        this.img = img;
    }

    public String getImg() 
    {
        return img;
    }

    public void setPublishDate(Date publishDate) 
    {
        this.publishDate = publishDate;
    }

    public Date getPublishDate() 
    {
        return publishDate;
    }

    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }

    public void setClickCount(Long clickCount) 
    {
        this.clickCount = clickCount;
    }

    public Long getClickCount() 
    {
        return clickCount;
    }

    public void setAuthor(String author) 
    {
        this.author = author;
    }

    public String getAuthor() 
    {
        return author;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("logo", getLogo())
            .append("addr", getAddr())
            .append("email", getEmail())
            .append("introduction", getIntroduction())
            .append("filings", getFilings())
            .append("support", getSupport())
            .append("phone", getPhone())
            .append("img", getImg())
            .append("publishDate", getPublishDate())
            .append("content", getContent())
            .append("clickCount", getClickCount())
            .append("author", getAuthor())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
